import requests
from bs4 import BeautifulSoup
import xlwt

header = {
    'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36'}
CheckUrl = 'https://api.day.app/4DdAEY56mnNXEi5dgGdwfc/qinglongtest'
TemUrl = 'https://yjsjy.uestc.edu.cn/gmis/jcsjgl/dsfc/dsgrjj/10380?yxsh=06'
s = requests.Session()
try:
    r = s.get(CheckUrl, headers=header)
    if r.status_code == 200:
        print('1')
except requests.RequestException:
    print('-1')









